package com.mnxc.gxa.mapper;

import com.mnxc.gxa.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mnxc.gxa.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mnxc
 * @since 2023-06-29
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> getAll();

    boolean activeMenu(Menu menu);

    boolean freezeMenu(Menu menu);

    boolean deleteMenu(Menu menu);

}
